package com.dubbo.domain;

import com.dubbo.domain.base.Uuid_IDDate;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;


/**
 * 订单pojo
 * @author chenluqiang
 * @date 2018年12月15日 下午4:34:04 
 *
 */
@Table(name="o_order")
public class Order extends Uuid_IDDate {

    /**
	 * @author chenluqiang
	 * @date 2018年12月15日 下午4:33:59 
	 *
	 */
	private static final long serialVersionUID = 4519470422335175270L;

	/**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.userId
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String userid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.orderNum
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String ordernum;

    @Column(name="shippingId")
    private String shippingid;
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.tradeNo
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String tradeno;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.paymentNum
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String paymentnum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.paymentPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String paymentprice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.agentPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String agentprice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.traderPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String traderprice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.totalPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String totalprice;

    
    private String walletprice;
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.grants
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String grants;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.userName
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String username;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.linkName
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String linkname;
    
    /**
    *
    * This field was generated by MyBatis Generator.
    * This field corresponds to the database column o_order.linkUserId
    *
    * @mbggenerated Sat Dec 15 16:31:06 CST 2018
    */
    @Column(name="linkUserId")
    private String linkuserid;


    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.count
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String count;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.payType
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    @Column(name="payType")
    private Integer paytype;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.payStatus
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private Integer paystatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.remarks
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private String remarks;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column o_order.placeTime
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    private Date placetime;
    
    @Column(name="payTime")
    private Date payTime;

    @Column(name="cancelTime")
    private Date canceltime;
    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.userId
     *
     * @param userid the value for o_order.userId
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.orderNum
     *
     * @return the value of o_order.orderNum
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getOrdernum() {
        return ordernum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.orderNum
     *
     * @param ordernum the value for o_order.orderNum
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setOrdernum(String ordernum) {
        this.ordernum = ordernum;
    }
    
    public String getShippingid() {
		return shippingid;
	}

	public void setShippingid(String shippingid) {
		this.shippingid = shippingid;
	}

	/**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.tradeNo
     *
     * @return the value of o_order.tradeNo
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getTradeno() {
        return tradeno;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.tradeNo
     *
     * @param tradeno the value for o_order.tradeNo
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setTradeno(String tradeno) {
        this.tradeno = tradeno;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.paymentNum
     *
     * @return the value of o_order.paymentNum
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getPaymentnum() {
        return paymentnum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.paymentNum
     *
     * @param paymentnum the value for o_order.paymentNum
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setPaymentnum(String paymentnum) {
        this.paymentnum = paymentnum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.paymentPrice
     *
     * @return the value of o_order.paymentPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getPaymentprice() {
        return paymentprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.paymentPrice
     *
     * @param paymentprice the value for o_order.paymentPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setPaymentprice(String paymentprice) {
        this.paymentprice = paymentprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.agentPrice
     *
     * @return the value of o_order.agentPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getAgentprice() {
        return agentprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.agentPrice
     *
     * @param agentprice the value for o_order.agentPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setAgentprice(String agentprice) {
        this.agentprice = agentprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.traderPrice
     *
     * @return the value of o_order.traderPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getTraderprice() {
        return traderprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.traderPrice
     *
     * @param traderprice the value for o_order.traderPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setTraderprice(String traderprice) {
        this.traderprice = traderprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.totalPrice
     *
     * @return the value of o_order.totalPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getTotalprice() {
        return totalprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.totalPrice
     *
     * @param totalprice the value for o_order.totalPrice
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setTotalprice(String totalprice) {
        this.totalprice = totalprice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.grants
     *
     * @return the value of o_order.grants
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getGrants() {
        return grants;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.grants
     *
     * @param grants the value for o_order.grants
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setGrants(String grants) {
        this.grants = grants;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.userName
     *
     * @return the value of o_order.userName
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.userName
     *
     * @param username the value for o_order.userName
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.linkName
     *
     * @return the value of o_order.linkName
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getLinkname() {
        return linkname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.linkName
     *
     * @param linkname the value for o_order.linkName
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setLinkname(String linkname) {
        this.linkname = linkname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.count
     *
     * @return the value of o_order.count
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getCount() {
        return count;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.count
     *
     * @param count the value for o_order.count
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setCount(String count) {
        this.count = count;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.payType
     *
     * @return the value of o_order.payType
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public Integer getPaytype() {
        return paytype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.payType
     *
     * @param paytype the value for o_order.payType
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setPaytype(Integer paytype) {
        this.paytype = paytype;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.payStatus
     *
     * @return the value of o_order.payStatus
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public Integer getPaystatus() {
        return paystatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.payStatus
     *
     * @param paystatus the value for o_order.payStatus
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setPaystatus(Integer paystatus) {
        this.paystatus = paystatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.remarks
     *
     * @return the value of o_order.remarks
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public String getRemarks() {
        return remarks;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.remarks
     *
     * @param remarks the value for o_order.remarks
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column o_order.placeTime
     *
     * @return the value of o_order.placeTime
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public Date getPlacetime() {
        return placetime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column o_order.placeTime
     *
     * @param placetime the value for o_order.placeTime
     *
     * @mbggenerated Sat Dec 15 16:31:06 CST 2018
     */
    public void setPlacetime(Date placetime) {
        this.placetime = placetime;
    }
    
	public Date getCanceltime() {
		return canceltime;
	}

	public void setCanceltime(Date canceltime) {
		this.canceltime = canceltime;
	}

	public String getUserid() {
		return userid;
	}

	public String getLinkuserid() {
		return linkuserid;
	}

	public void setLinkuserid(String linkuserid) {
		this.linkuserid = linkuserid;
	}
    
	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getWalletprice() {
		return walletprice;
	}

	public void setWalletprice(String walletprice) {
		this.walletprice = walletprice;
	}
	
}